package com.mdd.admin.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("产品列表Vo")
public class ProductListedVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品ID")
    private Integer id;

    @ApiModelProperty(value = "分类ID")
    private Integer categoryId;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "产品描述")
    private String description;

    @ApiModelProperty(value = "主图")
    private String image;

    @ApiModelProperty(value = "产品图片集，JSON格式")
    private String images;

    @ApiModelProperty(value = "产品详情")
    private String details;

    @ApiModelProperty(value = "搜索关键词")
    private String keywords;

    @ApiModelProperty(value = "是否热门：0-否，1-是")
    private Integer isHot;

    @ApiModelProperty(value = "是否最新：0-否，1-是")
    private Integer isNew;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "状态：0-下架，1-上架")
    private Integer status;

    @ApiModelProperty(value = "浏览量")
    private Integer views;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;


}
